package guess;

import java.util.Scanner;

public class PersonPlayer {

	private String pname;
	private int pscore;
	Scanner in = new Scanner(System.in);
	public PersonPlayer() {}
	public PersonPlayer(String pname) {
		super();
		this.pname = pname;
	}
	public void addScore(){
		this.pscore++;
	}
	public int show(){
		int x = in.nextInt();
		return x;
	}
	
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public int getScore() {
		return pscore;
	}
	public void setScore(int score) {
		this.pscore = score;
	}
	
}
